import UIKit

@available(iOS 8.0, *)
extension QKC where AA :UIPrinterPickerController {
	/**
     * @discussion    The selected printer. Set this before presenting the UI to show the currently
     *             selected printer. Use this to determine which printer the user selected.
     */
    open func selectedPrinter_qk_g() -> QKC<AA,YY,ZZ, UIPrinter? >{
		 self +^ self.value.selectedPrinter
	}

     open func delegate_qk_s(_ delegate:  UIPrinterPickerControllerDelegate?) -> QKC<AA,YY,ZZ, UIPrinterPickerControllerDelegate?>{
		return link(next: delegate).then_QK { $0.value.delegate = delegate }
	}
     open func delegate_qk_g() -> QKC<AA,YY,ZZ, UIPrinterPickerControllerDelegate?>{
		 self +^ self.value.delegate
	}

		// iPhone
    open func present_qk_f(animated: Bool, completionHandler completion: UIPrinterPickerController.CompletionHandler? = nil) -> QKC<AA,YY,ZZ,Bool >{
		 self +^ self.value.present(animated:animated, completionHandler:completion)
	}

		// iPad
    open func present_qk_f(from rect: CGRect, in view: UIView, animated: Bool, completionHandler completion: UIPrinterPickerController.CompletionHandler? = nil) -> QKC<AA,YY,ZZ,Bool >{
		 self +^ self.value.present(from:rect, in:view, animated:animated, completionHandler:completion)
	}

		// iPad
    open func present_qk_f(from item: UIBarButtonItem, animated: Bool, completionHandler completion: UIPrinterPickerController.CompletionHandler? = nil) -> QKC<AA,YY,ZZ,Bool >{
		 self +^ self.value.present(from:item, animated:animated, completionHandler:completion)
	}

    open func dismiss_qk_f(animated: Bool) -> QKC<AA,YY,ZZ, Bool>{
		 self +^ self.value.dismiss(animated:animated) +^ animated
	}

}

